import {createSlice} from '@reduxjs/toolkit'
let Splice = createSlice({
    name:'splice',
    initialState:{
        splice:[]
    },
    reducers:{
        addSplice:(state,action)=>{
            state.splice = action.payload
        }
    }
})

export default Splice
export let {addSplice} = Splice.actions
